package com.hkh.erp.system.api.provider;


import com.hkh.erp.common.api.BasePage;
import com.hkh.erp.common.api.RespResult;
import com.hkh.erp.system.api.response.UserPageResponse;
import com.hkh.erp.system.api.request.UserPageRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "${application.system.name}", contextId = "UserProvider")
public interface UserProvider {

    @PostMapping("/user/v1/page")
    RespResult<BasePage<UserPageResponse>> page(@RequestBody UserPageRequest userPageRequest);

}
